package com.bao.auth.server.demo.monster;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Monster {
    public Monster(int max_HP,int current_HP){
        this.max_HP = max_HP;
        this.current_HP = current_HP;
    }
    
    /**
     * 最大血量
     */
    int max_HP;
    /**
     * 当前血量
     */
    int current_HP;

    /**
     * 是否触发半血攻击
     */
    boolean isHalfAttack = false;
}
